package com.opal.consts;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface CommonConst {
    //系统的绝对路径，springboot的jar文件或启动文件路径：opal-start
    String SYSTEM_PATH= System.getProperty("user.dir");
    //成本报告文件服务的映射路径
    String COST_FILE_SERVER_PATH="\\fileServer\\image";

    //收发存汇总表中的用户缓存查询数量的数据：次数据用于导出到excel功能用，后续通过会话结束清空数据
    static Map<Long, Object> hr =new HashMap<>();
    //签卡单
    public static Map<Long,String> currentPkOrg=new HashMap<>();//查询完后存储用户的当前组织
    public static Map<Long,String> currentPkSignh=new HashMap<>();//主表id
    public static Map<Long,String> currentbillCode=new HashMap<>();//当前签卡单

    //返回前端信息
    static final String SUCCESSMESSAGE="处理成功";
    static final String SAVESUCCESSMESSAGE="保存成功！";
    static final String ERRORMESSAGE="系统发生错误：服务维护中！";
    static final String LACKPARAMMESSAGE="必须的参数没有！";
    //用户
    static final String OPALUSER="user";
	static final Object USERID = "userId";
	static final String ZHAOTING="0001O110000000001HGC";
	static final String AOBAO="0001O110000000001HET";
	//权限code
    static final String ADMIN="admin";
    static final String PINGGUAN="qc"; //品管模块
    static final String CHENGBENBAOGAO="costReportForm"; //成本报告表模块
    //Activiti
    static final String MAILERROR="处理邮箱错发生错误！";
    static final String SEONDMAILERROR="发送方邮箱设置错误或已失效";
    //组织
    static final String ORG_HUIZHOU_CODE="0001O110000000001HET";
    static final String ORG_HUIZHOU_NAME="澳宝化妆品（惠州）有限公司";
    static final String ORG_ZHAOTING_CODE="0001O110000000001HGC";
    static final String ORG_ZHAOTING_NAME="惠州兆婷化妆品有限公司";
    static final String ORG_XIANGGANG_CODE="0001O110000000001HC5";
    static final String ORG_XIANGGANG_NAME="澳寶化粧品（香港）有限公司";
    static final String ORG_GUOJI_CODE="0001O110000000001HHM";
    static final String ORG_GUOJI_NAME="澳寶國際貿易有限公司";
}
